# -*- coding: utf-8 -*-
from app import api
from image.resource import ImageApi
from comment.resource import CommentListApi, CommentApi


api.add_resource(ImageApi, '/api/image/<int:id>')
api.add_resource(CommentListApi, '/api/post/<int:id>/comment')
api.add_resource(CommentApi, '/api/post/<int:pid>/comment/<int:id>')
